export default{
    mode:"history",
    routes: [
        // {
        //     path:"/",
        //     alias:"/index*",
        //     name:"Home",
        //     component:() => import("@/views/Home")
        // },
        {
            path:"/login",
            name:"Login",
            component:() => import("@/views/Login")
        },
        {
            path:"/reg",
            name:"Reg",
            component:() => import("@/views/Reg")
        },
        {
            path:"/per",
            name:"Pet",
            component:() => import("@/views/Pet")
        },
        {
            path:"/personal",
            name:"Personal",
            component:() => import("@/views/Personal"),
            meta:{
               auth:true 
            }
        },
        {
            path:"/menu",
            name:"Menu",
            component:() => import("@/views/Menu"),
            // meta:{
            //  auth:true
            // }
        },
        {
            path:"/auth",
            name:"Auth",
            component:() => import("@/views/Auth"),
        },
        {
            path:"/storeApply",
            name:"StoreApply",
            component:() => import("@/views/StoreApply"),
        },
        {
            path:"/item",
            name:"Item",
            component:() => import("@/views/Item"),
        },
        {
            path:"/test",
            name:"Test",
            component:() => import("@/views/Test"),
        },
        {
            path:"/checkItem",
            name:"CheckItem",
            component:() => import("@/views/CheckItem"),
        }, 
        {
            path:"/roleAssign",
            name:"RoleAssign",
            component:() => import("@/views/RoleAssign"),
        },
        {
            path:"/permissionAssign",
            name:"PermissionAssign",
            component:() => import("@/views/PermissionAssign"),
        }
    ]
}  